package zheezes.eisp.data.orm;

import java.math.BigDecimal;
import java.util.Date;

public class GroupStat {
	private Integer id; // id
	private Integer groupId; // group_id
	private Integer termNum; // terminal_count
	private Integer installedTermNum; // install_device_count
	private Integer onlineTermNum; // online_terminal_count
	// private Integer offlineTermNum; // offline_terminal_count = install_device_count - online_terminal_count
	// private Integer userNum; // resident_count
	private Integer resMeterNum; // all_collect_count
	private Integer colledResMeterNum; // collect_count
	// private Integer uncolledResMeterNum; // loss_count = all_collect_count - collect_count
	private Integer cutOffResMeterNum; // openflag_meter_count
	private BigDecimal sumUse; // sale_elec_count, this can be calc, but it can get from db
	private BigDecimal totalProxValue; // gen_meter_pre_date_val
	private BigDecimal totalCurValue; // gen_meter_cur_date_val
	// private BigDecimal totalUse; // offer_elec_count = gen_meter_cur_date_val - gen_meter_pre_date_val
	// private BigDecimal lossy; // loss_elec_count = (all_ele_count - all_sale_ele_count) / all_ele_count
	private Date date; // dis_date
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getGroupId() {
		return groupId;
	}
	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}
	public Integer getTermNum() {
		return termNum;
	}
	public void setTermNum(Integer termNum) {
		this.termNum = termNum;
	}
	public Integer getInstalledTermNum() {
		return installedTermNum;
	}
	public void setInstalledTermNum(Integer installedTermNum) {
		this.installedTermNum = installedTermNum;
	}
	public Integer getOnlineTermNum() {
		return onlineTermNum;
	}
	public void setOnlineTermNum(Integer onlineTermNum) {
		this.onlineTermNum = onlineTermNum;
	}
	public Integer getResMeterNum() {
		return resMeterNum;
	}
	public void setResMeterNum(Integer resMeterNum) {
		this.resMeterNum = resMeterNum;
	}
	public Integer getColledResMeterNum() {
		return colledResMeterNum;
	}
	public void setColledResMeterNum(Integer colledResMeterNum) {
		this.colledResMeterNum = colledResMeterNum;
	}
	public Integer getCutOffResMeterNum() {
		return cutOffResMeterNum;
	}
	public void setCutOffResMeterNum(Integer cutOffResMeterNum) {
		this.cutOffResMeterNum = cutOffResMeterNum;
	}
	public BigDecimal getSumUse() {
		return sumUse;
	}
	public void setSumUse(BigDecimal sumUse) {
		this.sumUse = sumUse;
	}
	public BigDecimal getTotalProxValue() {
		return totalProxValue;
	}
	public void setTotalProxValue(BigDecimal totalProxValue) {
		this.totalProxValue = totalProxValue;
	}
	public BigDecimal getTotalCurValue() {
		return totalCurValue;
	}
	public void setTotalCurValue(BigDecimal totalCurValue) {
		this.totalCurValue = totalCurValue;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}

}
